FROM java:8

RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai" > /etc/timezone


ENV REMOTE_DEBUG="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"


COPY *.jar /app.jar

CMD ["--server.port=81"]

EXPOSE 81 5005

ENTRYPOINT ["java","-jar","/app.jar"]
